package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.SpeedGroupSendJob;
import com.xjscrm.console.param.groupSend.SpeedGroupSendJobQuery;
import com.xjscrm.console.vo.SpeedGroupSendJobVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SpeedGroupSendJobMapper {
    List<SpeedGroupSendJobVo> getSpeedGroupSendJobList(SpeedGroupSendJobQuery speedGroupSendJobQuery);

    SpeedGroupSendJob getById(@Param("id") Long id, @Param("merId") Long merId);

    int update(SpeedGroupSendJob speedGroupSendJob);

    int delById(@Param("id") Long id, @Param("merId") Long merId);

    int insertSelective(SpeedGroupSendJob speedGroupSendJob);

    int updateExternalUserids(SpeedGroupSendJob speedGroupSendJob);

    int updateStatus(SpeedGroupSendJob speedGroupSendJob);

}
